home *** CD-ROM | disk | FTP | other *** search
/ Beginning Mac Programming / Beginning Mac Programming.bin / pc / Open Me for REALbasic 3 / REALbasic 3.2 / Goodies / 3rd Party Demos / 3rd Party Plugins / Multimedia / SoundLib 1.0 / SoundLib 1.0 Doc next >
Encoding:
Text File  |  1998-07-10  |  1.5 KB  |  23 lines

  1. 2<END>
  2. ReadMe,1,4,0,<TEXT>SoundLib 1.0 is a REALbasic plug-in that has some sound and speech features.
  3. Made by Jonatan Uppström (Hanland Software) , uppstrom@swipnet.se   Use it as much as you want for free!!!
  4. Please visit the Hanland Software website: http://home5.swipnet.se/~w-53123/hanland.html</TEXT>
  5. <END>
  6. Methods,2,2,4<TEXT></TEXT><END>
  7. SoundRecord,2,<TEXT>Syntax: sound = SoundRecord(x,y,quality,size)
  8. The SoundRecord function will open the MacOS standard sound recording dialog so the user can record a sound into <I>sound</I>.
  9.  
  10. x    (Integer)    The horizontal coordinate of the dialog.
  11. y    (Integer)    The vertical coordinate of the dialog.
  12. quality    (Integer)    The quality of the recorded sound. 0 = Good, 1 = Better, 2 = Best. Best quality take up more memory than Good.
  13. size    (Integer)    The size of the memory that SoundRecord shall record to. (In bytes) The more bytes - the longer recording time.
  14.  
  15. <B>WARNING:</B> RecordSound may crash your computer if you use a beta version of REALbasic!
  16. <END>
  17. GetSVolume,2,<TEXT>Syntax: integer = GetSVolume()
  18. The GetSVolume functions has no parameters and it will return the current system volume.<END>
  19. SetSVolume,2,<TEXT>Syntax: SetSVolume volume
  20. SetSVolume will set the sound volume. <I>volume</I> is an integer with the value 0 - 6.<END>
  21. SndSpeakString,2,<TEXT>Syntax: SndSpeakString string
  22. SndSpeakString will speak the text in <I>string</I> with the regular voice. Voice control may be available in future versions of SoundLib.<END>
  23.